package br.edu.fa7.quotes.model;

import java.io.Serializable;

public class Quote implements Serializable {

	private long idQuote;
	private String quote;
	private String author;

	public Quote() {
	}

	public Quote(String quote, String author) {
		this(0, quote, author);
	}

	public Quote(long idQuote, String quote, String author) {
		super();
		this.idQuote = idQuote;
		this.quote = quote;
		this.author = author;
	}

	public long getIdQuote() {
		return idQuote;
	}

	public void setIdQuote(long idQuote) {
		this.idQuote = idQuote;
	}

	public String getQuote() {
		return quote;
	}

	public void setQuote(String quote) {
		this.quote = quote;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	@Override
	public String toString() {
		return quote;
	}
}
